package com.yhp.dao;

import com.yhp.bean.Student;

import java.util.List;

public interface StudentDao {
    public List<Student> getStudent(String name,String id,int sex,int pageIndex,int pageSize);

    public int total(String name,String id,int sex);


    public int addStudent(Student student);

    public Student getById(String id);

    public int upDate(String id,Student student);

    public int delete(String id);
}
